// app.js
App({
    onLaunch() {
        const { screenWidth, screenHeight, statusBarHeight } = wx.getSystemInfoSync()
        this.globalData.screenWidth = screenWidth
        this.globalData.screenHeight = screenHeight
        this.globalData.statusBarHeight = statusBarHeight
    },
    globalData: {
        screenWidth: 0,
        screenHeight: 0,
        statusBarHeight: 0,
        navHeight: 44,
    }
})
